package com.hxl.demo.mapper;


import com.hxl.demo.entity.TrainingContents;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface TrainingContentsMapper{

    List<TrainingContents> getTrainingContents(Integer id);

    TrainingContents getTrainingContentsDetail(Integer id);

    Integer trainingContentsAdd(Integer classId, String content, String url, Integer trainingTime, String remark, Integer userId, Date insertTime);

    Integer trainingContentAudit(Integer id,String auditStatus,String status);


}